package org.apache.database.infs;

import org.apache.database.dao.Condition;

import java.io.Serializable;

public interface DeleteInterface {
    /**
     * 更具条件删除
     * @param tabClass
     * @param condition
     * @return
     */
    int deleteByCondition(Class<?> tabClass, Condition condition);


    /**
     * 删除多个ID
     * @param tabClass
     * @param ids
     * @return
     */
    int deleteIds(Class<?> tabClass, Serializable... ids);
}
